package cn.edu.jnu.supershopper;

import java.io.Serializable;

public class Book implements Serializable {

    private String name;
    private final int imageId;

    public Book(String name, int imageId) {
        this.name = name;
        this.imageId = imageId;

    }

    public void setTitle(String name) {this.name = name;}

    public String getCoverResourceName() {
        return name;
    }

    public int getCoverResourceId() {
        return imageId;
    }

}

